package com.cloud.api.domain.alarm;

import com.cloud.mybatis.domain.PageModelNew;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@Accessors
@Schema(name = "QueryAccident")
public class QueryAccident extends PageModelNew {

    @Schema(description = "vin")
    private String vin;

    @Schema(description = "车牌号")
    private String carNumber;

    @Schema(description = "添加开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "添加结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
